#================================================================
#	This Makefile creates Triangulation_3.so which can be imported via python
#================================================================

include ../makefile.inc

Triangulation_3_module = Triangulations_3

OBJ_of_Triangulation_3_module =  \
	Py_Tools.o \
	Py_Triangulation_3.o \
	Triangulations_3_module.o \
	Py_Delaunay_triangulation_3.o

all:$(OBJ_of_Triangulation_3_module) 
	@echo 'Creating a Python modules'
	@g++ $(CGAL_PYTHON_LDFLAGS) $(OBJ_of_Triangulation_3_module)  -o $(Triangulation_3_module).so
	@echo '$(Triangulation_3_module) module is created in ./$(Triangulation_3_module)/$(Triangulation_3_module).so'

.cpp.o:
	@echo 'Compiling $<'
	@g++ $(CGAL_PYTHON_CXXFLAGS) -c $<

clean:
	@rm -f *.so
	@rm -f $(OBJ_of_Triangulation_3_module) *.*~  *~ 
